package com.carskeeper.body.service;

import com.carskeeper.common.dtos.PageResponseResult;
import com.carskeeper.common.dtos.ResponseResult;
import com.carskeeper.model.body.dtos.InsertBodyUserDto;
import com.carskeeper.model.body.vo.BodyUserListVo;

import java.util.List;

public interface BodyUserService {
    /**
     * 添加管理员
     * @param dto
     * @return
     */
    ResponseResult addAdmin(InsertBodyUserDto dto);

    /**
     * 查询用户列表
     * @param
     * @return
     */
    PageResponseResult<List<BodyUserListVo>> findUserList(Long id,Integer pageNum,Integer pageSize);

    /**
     * 密码重置
     * @param id
     * @return
     */
    ResponseResult reset(Long id);

    /**
     * 锁定用户
     * @param id
     * @param status
     * @return
     */
    ResponseResult lockUser(Long id, Boolean status);
}
